package org.shilong.MLogic.Json.weibo.uid;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * 解析uid的Json逻辑
 * @author cesc
 *
 */
public class GetUidLogic {

	private static String rlt = null;

	private static JSONObject jObject = null;

	public static String getRlt( Object req ){
		rlt = null;

		jObject = null;

		try {
			jObject = new JSONObject( (String)req );

			rlt = jObject.getString( "uid" );
		} catch (JSONException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

		return rlt;
	}
}
